<fieldset>
  <legend><%= I18n.t("fill_fields_message") %></legend>
<%= form_for(role) do |f| %>
    <% if role.errors.any? %>
        <div id="errorExplanation">
          <h2><%= pluralize(role.errors.count, "error") %> prohibited
            this post from being saved:</h2>
          <ul>
            <% role.errors.full_messages.each do |msg| %>
                <li><%= msg %></li>
            <% end %>
          </ul>
        </div>
    <% end %>

    <div class="field">
      <%= f.label :name %><br />
      <%= f.text_field :name %>
    </div>

    <div class="actions">
      <%= f.submit %>
    </div>
<% end %>
</fieldset>